<template>
    <div class="search">
        <div class="header">
            <header>
              <div class="back">
                <i @click="back()" class="iconfont icon-fanhui"></i>
                <p>返回</p>
              </div>
            </header>
          </div>
  
  
    </div>
  </template>
  
  <script>
  export default {
    methods: {
      back(){
        this.$router.go(-1)
      },
    },
  }
  </script>
  
  <style scoped>
  
  .header{
      width: 100%;
      background: crimson;
    }
    header{
      display: flex;
      justify-content: space-between;
      width: 90%;
      height: 40px;
      line-height: 40px;
      margin: 0 auto;
    }
    header .back{
      font-size: 35px;
      display: flex;
    }
    header .back i {
      color: white;
      font-size: 22px;
    }
    header .back p{
      color: white;
      font-size: 18px;
      margin-left: 10px;
    }
  </style>